
/**
 * 
 */
package com.zsrt.day20170411.homework;

/**
 * 打印一个人的信息
 * @author jmj
 * @date 2017年4月11日
 * @time 下午4:59:05
 */
public class Student01 {
	
	/**
	 * 姓名
	 */
	private String name;
	
	/**
	 * 性别
	 */
	private char sex;
	
	/**
	 * 年龄
	 */
	private int age;
	
	/**
	 * 分数
	 */
	private int score;
	
	/**
	 * 身份证号
	 */
	private long idCard;
	
	

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}



	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}


	/**
	 * @return the sex
	 */
	public char getSex() {
		return sex;
	}



	/**
	 * @param sex the sex to set
	 */
	public void setSex(char sex) {
		this.sex = sex;
	}



	/**
	 * @return the age
	 */
	public int getAge() {
		return age;
	}



	/**
	 * @param age the age to set
	 */
	public void setAge(int age) {
		this.age = age;
	}



	/**
	 * @return the score
	 */
	public int getScore() {
		return score;
	}


	/**
	 * @param score the score to set
	 */
	public void setScore(int score) {
		this.score = score;
	}


	/**
	 * @return the idCard
	 */
	public long getIdCard() {
		return idCard;
	}


	/**
	 * @param idCard the idCard to set
	 */
	public void setIdCard(long idCard) {
		this.idCard = idCard;
	}

	/**
	 * 打印个人信息
	 * @return
	 */
	public String info() {
		return "Student01 [name=" + name + ", sex=" + sex + ", age=" + age + ", score=" + score + ", idCard=" + idCard
				+ "]";
	}



}
